Phase detecting device and clock data recovery circuit embedded with decision feedback equalizer

ABSTRACT

A phase detecting device and a clock data recovery circuit are provided. The phase detecting device includes a decision feedback equalizer having first and second sample-hold sub-circuits, an edge detector having a third sample-hold sub-circuit, a first XOR gate, and a second XOR gate. The first sample-hold sub-circuit, the second sample-hold sub-circuit and the third sample-hold sub-circuit obtain first sample data, second sample data and transition data, respectively. The first XOR gate executes an XOR operation for the first sample data and the transition data to generate first clock phase shift information. The second XOR gate executes the XOR operation for the second sample data and the transition data to generate second clock phase shift information. Therefore, high-frequency noise disturbance generated from conventional clock data recovery circuit and decision feedback equalizer can be avoided.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application claims under 35 U.S.C. §119(a) the benefit of TaiwaneseApplication No. 103132039, filed Sep. 17, 2014 the entire contents ofwhich are incorporated herein by reference.

TECHNICAL FIELD

This present invention relates to phase detecting devices and clock datarecovery circuits, and, more specifically, to a phase detecting deviceand a clock data recovery circuit embedded with a decision feedbackequalizer.

BACKGROUND

In a receiver, the equalizer (EQ) and the clock data recovery circuit(CDR) are essential blocks in order to demodulate the attenuationdigital signal to the correct information.

The equalizer commonly is the discrete equalizer (DEQ) by using a linearequalizer (LEQ) plus a level of post-cursor. One of the most widely useddiscrete equalizers is the decision feedback equalizer (DFE).

The clock data recovery circuit can be implemented by many means, whichcan be roughly classified as analog clock data recovery circuits anddigital clock data recovery circuits. The analog clock data recoverycircuit can integrate the clock phase error information to provide acontrol voltage of the voltage controlled oscillator to calibrate thephase. The digital clock data recovery circuit transfers the clock phaseerror information into phase shift digital code by logical circuits, andthen calibrates the phase by the phase interpolator (PI).

However, the bottleneck of the current technology is the arrangementorder of the equalizer and the clock data recovery circuit. If the clockdata recovery circuit is arranged ahead the discrete equalizer, theequalization effect of the linear equalizer needs to be large enough toallow the clock data recovery circuit to operate properly. The drawbacksare that the noise will be enlarged simultaneously and the powerconsumption will be increased. Nevertheless, if the clock data recoverycircuit is arranged behind the discrete equalizer, the edge value ofsignal will be determined by the sampling clock of the equalizer.Therefore, it is necessary to use the signal before the equalizerincorporating more logical operation to calibrate it, so that thecomplexity and area of the circuit are highly increased.

Therefore, the best mean is to combine the clock data recovery circuitand the discrete equalizer, so as to conduct equalization andcalibration simultaneously. However, all of the current innovations ofcombining the clock data recovery circuit and the discrete equalizer usethe discrete equalizer and Hogge phase detecting device, but this phasedetecting device is only applicable to the analog clock data recoverycircuit.

FIG. 1A depicts the circuit diagram of Alexander phase detecting device1 of the prior art. FIG. 1B depicts a timing chart of the phasedetecting device 1 in FIG. 1A of the prior art. The phase detectingdevice 1 comprises three D-type flip-flops (Da, Db, and Dc), a first XORgate (Xor1), and a second XOR gate (Xor2).

The D-type flip-flop (Da) obtains the first sample data (D1) of theinput data signal (DataIn) in light of the positive clock signal (Clki)and generates the first serial data, for example, the odd serial data(Odd). The D-type flip-flop (Db) obtains the second sample data (D2) ofthe input data signal (DataIn) in light of the negative clock signal(Clki) and generates the second serial data, for example, the evenserial data (Even). The D-type flip-flop (Dc) obtains the transitiondata (T1) of the input data signal (DataIn) in light of the edge clocksignal (Clkq) and generates the transition data (Edge).

The first XOR gate (Xor1) executes an XOR operation for the first sampledata (D1) of the first serial data (Odd) and the transition data (T1) ofthe transition data (Edge) to obtain the first clock phase shiftinformation (UP). The second XOR gate (Xor2) executes the XOR operationfor the second serial data (Even) and the transition data (T1) of thetransition data (Edge) to obtain the second clock phase shiftinformation (DN). The first clock phase shift information (UP) and thesecond clock phase shift information (DN) are utilized to adjust thephases of these clock signals (Clki), (Clki), and (Clkq), so as to makethem simultaneously lead forward or lag backward.

However, the aforementioned phase detecting device 1 can obtain thefirst clock phase shift information (UP) and the second clock phaseshift information (DN) only, but does not have the function of feedbackequalization. Therefore, the phase detecting device 1 is not able toconduct equalization and calibration for the input data signal (DataIn)simultaneously.

Consequently, how to overcome the above problems of the prior art, infact, has become anxious to resolve the issue.

SUMMARY

The present invention provides a phase detecting device, comprising: adecision feedback equalizer including a first feedback equalizationcircuit having a first sample-hold sub-circuit and a second feedbackequalization circuit having a second sample-hold sub-circuit, whereinthe first sample-hold sub-circuit obtains first sample data of an inputdata signal in light of a positive clock signal, and the secondsample-hold sub-circuit obtains second sample data of the input datasignal in light of a negative clock signal corresponding to the positiveclock signal; an edge detector electrically connected to the firstfeedback equalization circuit or the second feedback equalizationcircuit and having a third sample-hold sub-circuit that obtainstransition data of the input data signal in light of an edge clocksignal corresponding to the positive clock signal; a first XOR gateelectrically connected to the first feedback equalization circuit andthe edge detector and executing an XOR operation for the first sampledata and the transition data to generate first clock phase shiftinformation; and a second XOR gate electrically connected to the secondfeedback equalization circuit and the edge detector and executing theXOR operation for the second sample data and the transition data togenerate a second clock phase shift information.

The present invention also provides a clock data recovery circuit,comprising: a phase detecting device including: a decision feedbackequalizer including a first feedback equalization circuit having a firstsample-hold sub-circuit and a second feedback equalization circuithaving a second sample-hold sub-circuit, wherein the first sample-holdsub-circuit obtains first sample data of an input data signal in lightof a positive clock signal, and the second sample-hold sub-circuitobtains second sample data of the input data signal in light of anegative clock signal corresponding to the positive clock signal; anedge detector electrically connected to the first feedback equalizationcircuit and the second feedback equalization circuit and having a thirdsample-hold sub-circuit that obtains transition data of the input datasignal in light of an edge clock signal corresponding to the positiveclock signal; a first XOR gate electrically connected to the firstfeedback equalization circuit and the edge detector and executing an XORoperation for the first sample data and the transition data to generatea first clock phase shift information; and a second XOR gateelectrically connected to the second feedback equalization circuit andthe edge detector and executing the XOR operation for the second sampledata and the transition data to generate a second clock phase shiftinformation; and a clock adjustment circuit electrically connected tothe phase detecting device and adjusting phases of the positive clocksignal, the negative clock signal and the edge clock signal based on thefirst clock phase shift information and the second clock phase shiftinformation.

In an embodiment, the first feedback equalization circuit includes afirst adder, a first latch and a second latch electrically connected tothe first sample-hold sub-circuit sequentially, a first multiplierelectrically connected to the second feedback equalization circuit, anda second multiplier electrically connected to the first adder and thesecond latch, and obtains a plurality of the first sample data of theinput data signal, and the first adder, the first latch, the secondlatch, the first multiplier and the second multiplier conduct feedbackequalization to the first sample data to generate first serial data.

In an embodiment, the second feedback equalization circuit includes asecond adder, a third latch and a fourth latch electrically connected tothe second sample-hold sub-circuit sequentially, a third multiplierelectrically connected to the first feedback equalization circuit, and afourth multiplier electrically connected to the second adder and thefourth latch, and obtains a plurality of the second sample data of theinput data signal, and the second adder, the third latch, the fourthlatch, the third multiplier and the fourth multiplier conduct feedbackequalization to the second sample data to generate second serial data.

In an embodiment, the edge detector includes a fifth latch and a sixthlatch electrically connected to the third sample-hold sub-circuitsequentially, and obtains a plurality of the transition data of theinput data signal from the first feedback equalization circuit or thesecond feedback equalization circuit, and the fifth latch or the sixthlatch conducts digitalization of the transition data.

In an embodiment, the phase detecting device further includes a seventhlatch electrically connected to the first XOR gate and outputting thefirst clock phase shift information and an eighth latch electricallyconnected to the second XOR gate and outputting the second clock phaseshift information.

From the above, the phase detecting device and the clock data recoverycircuit according to the present invention embed the decision feedbackequalizer having at least two sample-hold sub-circuits into the phasedetecting device of the clock data recovery circuit, incorporate theedge detector into the two feedback equalization circuits of thedecision feedback equalizer, and employee XOR gate to execute operationsof the sample data of the input data signal and transition data, so asto obtain the clock phase shift information (UP/DN) to adjust the phasesof the positive, negative and edge clock signals.

Therefore, the present invention can be used for high speed, digital andanalog clock data recovery circuits, and can form a half rate (or higherthan quarter rate) feedback equalization circuit to reduce the bandwidthrequirement of the first and second feedback equalization circuit, toconduct the equalization and calibration for the input data signalsimultaneously, to reduce the complexity of the phase detecting deviceand the clock data recovery circuit, to reduce the calibration time ofthese clock signals, further to achieve more accurate clock datarecovery with a lower power consumption, and to avoid the high-frequencynoise disturbance generated from the separate or front and backarrangement of the prior clock data recovery circuit and the decisionfeedback equalizer.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1A depicts a circuit diagram of the Alexander phase detectingdevice according to the prior art;

FIG. 1B depicts the timing chart of the phase detecting device in FIG.1A according to the prior art;

FIG. 2A depicts a circuit diagram of a phase detecting device embeddedwith a decision feedback equalizer according to the present invention;

FIG. 2B depicts the timing chart of the phase detecting device embeddedwith the decision feedback equalizer in FIG. 2A according to the presentinvention;

FIG. 3A depicts a circuit diagram of a clock data recovery circuitembedded with a decision feedback equalizer and the receiver accordingto the present invention;

FIG. 3B depicts the simulation chart of the demodulated signal of thedecision feedback equalizer in FIG. 3A according to the presentinvention;

FIG. 4A depicts another circuit diagram of a phase detecting deviceembedded with a decision feedback equalizer according to the presentinvention; and

FIG. 4B depicts the timing chart of the phase detecting device embeddedwith the decision feedback equalizer in FIG. 4A according to the presentinvention.

DETAILED DESCRIPTION

The detail description of the disclosure is described by specificembodiments in the following. Those with ordinary skills in the arts canreadily understand the other advantages and functions of the presentinvention after reading the disclosure of this specification, and alsocan implement or apply the present invention by other differentembodiments.

FIG. 2A depicts a circuit diagram of a phase detecting device 20embedded with a decision feedback equalizer 21 according to the presentinvention. FIG. 2B depicts the timing chart of the phase detectingdevice 20 embedded with the decision feedback equalizer 21 in FIG. 2Aaccording the present invention.

The phase detecting device 20 comprises the decision feedback equalizer21, an edge detector (ED) 22, a first XOR gate (Xor1), and a second XORgate (Xor2).

In an embodiment, the decision feedback equalizer 21 includes twofeedback equalization circuits, such as a first feedback equalizationcircuit 21 a having a first sample-hold sub-circuit S/H1 and a secondfeedback equalization circuit 21 b having a second sample-holdsub-circuit S/H2, so as to form a decision feedback equalizer with halfrate.

In other embodiments, the decision feedback equalizer 21 includes morethan two feedback equalization circuits and their sample-holdsub-circuits, for example, four or six feedback equalization circuitsand their sample-hold sub-circuits, so as to form a decision feedbackequalizer with quarter rate or one sixth rate, but the present inventionis not limited thereto.

The first sample-hold sub-circuit S/H1 obtains the first sample data(Sodd) (i.e., Odd data) of an input data signal (DataIn) in light of thepositive clock signal (Clki). The second sample-hold sub-circuit S/H2obtains the second sample data (Seven) (i.e., Even data) of the inputdata signal (DataIn) in light of the negative clock signal (Clki)corresponding to the positive clock signal (Clki). The phase differenceof the negative clock signal (Clki) and the positive clock signal (Clki)is 180°.

The first feedback equalization circuit 21 a can include a first adderA1, a the first latch L1 and a second latch L2 electrically connected tothe of the first sample-hold sub-circuit S/H1 sequentially, a firstmultiplier W1 electrically connected to the second feedback equalizationcircuit 21 b, and a second multiplier W2 electrically connected to thefirst adder A1 and the second latch L2. The first adder A1 iselectrically connected to the output terminal of the first sample-holdsub-circuit S/H1, the first latch L1 is electrically connected to theoutput terminal of the first adder A1, the second latch L2 iselectrically connected to the output terminal of the first latch L1, thefirst multiplier W1 is electrically connected to the input terminal ofthe first adder A1 and the output terminal of the third latch L3, andthe second multiplier W2 is electrically connected to the input terminalof the first adder A1 and the output terminal of the second latch L2.

The first sample-hold sub-circuit S/H1 obtains a plurality of the firstsample data (Sodd) of the input data signal (DataIn), such as the firstsample data D-1, D1, D2, and so on. The first adder A1, the first latchL1, the second latch L2, the first multiplier W1 and the secondmultiplier W2 conduct feedback equalization (e.g., the compensation ofmagnification ratio) for the first sample data (Sodd) to generate thefirst serial data (Odd) (i.e., the odd serial data) having the firstsample data D-1, D1, D2, and so on.

The first adder A1 sums the first sample data (Sodd), the second sampledata (Leven) fed back from the first multiplier W1, and the first sampledata (L′odd) fed back from the second multiplier W2, to generate thefirst sample data (Aodd). Taking advantage of the feedback additioncompensation of the two taps TAP1 and TAP2 of the first multiplier W1and the second multiplier W2, respectively, to add the first sample data(Sodd) with its previous two sample data, the correctness of the firstsample data (Aodd) can be improved.

In an embodiment, when the first adder A1 samples the first sample dataD3, the first sample-hold sub-circuit S/H1 is in the sampling state(Sample) and the third latch L3 connected to the first multiplier W1 andthe second latch L2 connected to the second multiplier W2 are in thetracking state (Track), during the first half period (the first bittime) of handling the first sample data D3. During the second halfperiod (the second bit time) of handling the first sample data D3, thefirst sample-hold sub-circuit S/H1 is in the holding state (Hold), andthe third latch L3 connected to the first multiplier W1 and the secondlatch L2 connected to the second multiplier W2 are in the holding state(Hold). The feedback information of the first multiplier W1 and thesecond multiplier W2 can be the soft decision (soft), but not the harddecision (hard).

The third latch L3 and the second latch L2, when being in the trackingstate (Track), can let the first multiplier W1 and the second multiplierW2 begin to give the feedback of the second sample data (Leven) and thefirst sample data (L′odd) to the first adder A1, and the feedbackprocess only requires at most half of time (one bit time). Therefore,the feedback information of the soft decision has the advantage of fastprocessing time.

The first adder A1 has two bit time to handle the first sample data(Sodd), such that the speed requirement of the first adder A1 can bereduced, and the first adder A1 can be guaranteed to generate thecorrect first sample data (Aodd).

The first latch L1 depends on the negative clock signal (Clki) to be inthe tracking state (Track) or the holding state (Hold), and to transformthe first sample data (Aodd) to the first sample data (Lodd). The secondlatch L2 depends on the positive clock signal (Clki) to be in thetracking state (Track) or the holding state (Hold), and to transform thefirst sample data (Lodd) to the first sample data (L′odd). Both thefirst latch L1 and the second latch L2 can be equivalent to a D-typeflip-flop, and transform the first sample data (Aodd) to the firstserial data (Odd) having digital data 0 and 1.

The second feedback equalization circuit 21 b can include a second adderA2, a third latch L3 and a fourth latch L4 electrically connected to theof the second sample-hold sub-circuit S/H2 sequentially, a thirdmultiplier W3 electrically connected to the first feedback equalizationcircuit 21 a, and a fourth multiplier W4 electrically connected to thesecond adder A2 and the fourth latch L4. The second adder A2 iselectrically connects to the output terminal of the second sample-holdsub-circuit S/H2, the third latch L3 is electrically connected to theoutput terminal of the second adder A2, the fourth latch L4 electricallyconnects to the output terminal of the third latch L3, the thirdmultiplier W3 is electrically connected to the input terminal of thesecond adder A2 and the output terminal of the first latch L1, and thefourth multiplier W4 is electrically connected to the input terminal ofthe first adder A1 and the output terminal of the fourth latch L4.

The second sample-hold sub-circuit S/H2 obtains a plurality of thesecond sample data (Seven) of the input data signal (DataIn), such asthe second sample data D0, D2, D4, and so on. The second adder A2, thethird latch L3, the fourth latch L4, the third multiplier W3 and thefourth multiplier W4 conduct feedback equalization (e.g., thecompensation of magnification ratio) to the second sample data (Seven)to generate the second serial data (Even) (i.e., the even serial data)having the second sample data D0, D2, D4, and so on.

The second adder A2 sums the second sample data (Seven), the secondsample data (Lodd) fed back from the third multiplier W3, and the secondsample data (L′even) fed back from the fourth multiplier W4, to generatethe second sample data (Aeven). Taking advantage of the feedbackaddition compensation of the two taps TAP1 and TAP2 of the thirdmultiplier W3 and the fourth multiplier W4, respectively, to add thesecond sample data (Seven) with its previous two sample data, thecorrectness of the second sample data (Aeven) can be improved.

In an embodiment, when the second adder A2 samples the second sampledata D4, the second sample-hold sub-circuit S/H2 is in the samplingstate (Sample), and the first latch L1 connected to the third multiplierW3 and the fourth latch L4 connected to the fourth multiplier W4 are inthe tracking state (Track), during the first half period (the first bittime) of handling the second sample data D4. During the second halfperiod (the second bit time) of handling the second sample data D4, thesecond sample-hold sub-circuit S/H2 is in the holding state (Hold), andthe first latch L1 connected to the third multiplier W3 and the fourthlatch L4 connected to the fourth multiplier W4 are in the holding state(Hold). The feedback information of the third multiplier W3 and thefourth multiplier W4 can be the soft decision (soft), but not the harddecision (hard).

The first latch L1 and the fourth latch L4, when being in the trackingstate (Track), can let the third multiplier W3 and the fourth multiplierW4 begin to give the feedback of the first sample data (Lodd) and thesecond sample data (L′even) to the second adder A2, and the feedbackprocess only requires at most half of time (one bit time). Therefore,the feedback information of the soft decision has the advantage of fastprocessing time.

In an embodiment, the second adder A2 has two bit time to handle thesecond sample data (Seven), such that the speed requirement of thesecond adder A2 can be reduced and the second adder A2 can be guaranteedto generate the correct second sample data (Aeven).

The third latch L3 depends on the positive clock signal (Clki) to be inthe tracking state (Track) or the holding state (Hold), and to transformthe second sample data (Aeven) to the second sample data (Leven). Thefourth latch L4 depends on the negative clock signal (Clki) to be in thetracking state (Track) or the holding state (Hold), and to transform thesecond sample data (Leven) to the second sample data (L′even). Both thethird latch L3 and the fourth latch L4 can be equivalent to a D-typeflip-flop, and transform the second sample data (Aeven) to the secondserial data (Even) having digital data 0 and 1.

The edge detector 22 can have the fifth latch L5 and the sixth latch L6which are electrically connected to the third sample-hold sub-circuitS/H3 sequentially. The third sample-hold sub-circuit S/H3 obtains aplurality of the transition data (Aedge) of the input data signal(DataIn) from the first feedback equalization circuit 21 a or the secondfeedback equalization circuit 21 b, for example, the transition data T1,T2, etc. in FIG. 2B.

The fifth latch L5 depends on the negative edge clock signal (Clkq)corresponding to the edge clock signal (Clkq) to be in the trackingstate (Track) or the holding state (Hold), and to transform thetransition data (Aedge) to the transition data (Ledge). The sixth latchL6 depends on the edge clock signal (Clkq) to be in the tracking state(Track) or the holding state (Hold), and to transform the transitiondata (Ledge) to the transition data (Edge). Both the fifth latch L5 andthe sixth latch L6 can be equivalent to a D-type flip-flop, andtransform the transition data (Ledge) to the transition data (Edge)having digital data 0 and 1.

The first XOR gate (Xor1) is electrically connected to the outputterminal of the second latch L2 of the first feedback equalizationcircuit 21 a and the output terminal of the sixth latch L6 of the edgedetector 22, and executes an XOR operation for the first sample data(L′odd) of the first serial data (Odd) and the transition data (Edge) togenerate the first clock phase shift information (UP), so as todetermine whether to make these clock signals (Clki), (Clki), (Clkq),and (Clkq) lead forward (move to the left).

The second XOR gate (Xor2) is electrically connected to the outputterminal of the fourth latch L4 of the second feedback equalizationcircuit 21 b and the output terminal of the sixth latch L6 of the edgedetector 22, and executes an XOR operation for the second sample data(L′even) of the second serial data (Even) and the transition data (Edge)to generate the second clock phase shift information (DN), so as todetermine whether to make these clock signals (Clki), (Clki), (Clkq),and (Clkq) delay backward (move to the right).

For example, in the input data signal (DataIn), the first sample data D1of the first sample data (L′odd) equals to 0 (please refer to FIG. 2B).The transition data T1 of the transition data (Edge) is larger than 0.5,and becomes to 1 after digitalization. Therefore, after the first XORgate (Xor1) executing the XOR operation for the first sample data D1 andthe transition data T1, the first clock phase shift information (UP)equal to 1 is obtained. After the second XOR gate (Xor2) executing theXOR operation for the second sample data D2 and the transition data T1,the second clock phase shift information (DN) equal to 0 is obtained. Itis thus represented that the first sample data D1 of the first serialdata (Odd) is different to the transition data T1 of the transition data(Edge), and the second sample data D2 of the second serial data (Even)is identical with the transition data T1 of the transition data (Edge),such that these clock signals (Clki), (Clki), (Clkq), and (Clkq) can beleaded forward to a predetermined phase to be calibrated.

For another example, the first sample data D3 of the first sample data(L′odd) equals to 0. The transition data T2 of the transition data(Edge) is less than 0.5, and becomes to 0 after digitalization. Thesecond sample data D4 of the second sample data (L′even) equals to 1.Thus, the first XOR gate (Xor1), after executing the XOR operation forthe first sample data D3 and the transition data T2, will obtain thefirst clock phase shift information (UP) equal to 0, and the second XORgate (Xor2), after executing the XOR operation for the first sample dataD3 and the transition data T2, will obtain the second clock phase shiftinformation (DN) equal to 1. It is thus represented that the firstsample data D3 of the first serial data (Odd) is identical with thetransition data T2 of the transition data (Edge), and the second sampledata D4 of the second serial data (Even) is identical with thetransition data T2 of the transition data (Edge), such that these clocksignals (Clki), (Clki), (Clkq), and (Clkq) can be delayed backward to apredetermined phase to be calibrated.

The phase detecting device 20 can include the seventh latch L7 and theeighth latch L8. The seventh latch L7 is electrically connected to thefirst XOR gate (Xor1), and able to correctly output the first clockphase shift information (UP). The eighth latch L8 is electricallyconnected to the second XOR gate (Xor2), and able to correctly outputthe second clock phase shift information (DN).

FIG. 3A depicts the circuit diagram of the clock data recovery circuit 2embedded with the decision feedback equalizer 21 and the receiver 3according to the present invention. FIG. 3B depicts the simulation chartof the demodulated signal of the decision feedback equalizer 21 in FIG.3A.

As shown in FIG. 3A and FIGS. 2A and 2B, the clock data recovery circuit2 includes the phase detecting device 20 and the clock adjustmentcircuit 26, and can further include the adaptive coefficient adjustingdevice 24 and the selector 25, but the present invention is not limitedthereto.

The decision feedback equalizer 21 includes the first feedbackequalization circuit 21 a having the first sample-hold sub-circuit S/H1and the second feedback equalization circuit 21 b having the secondsample-hold sub-circuit S/H2. The first sample-hold sub-circuit S/H1obtains the first sample data (Sodd) of the input data signal (DataIn)in light of the positive clock signal (Clki). The second sample-holdsub-circuit S/H2 obtains the second sample data (Seven) of the inputdata signal (DataIn) in light of the negative clock signal (Clki)corresponding to the positive clock signal (Clki).

The edge detector 22 has the third sample-hold sub-circuit S/H3. Theedge detector 22 is electrically connected to the first feedbackequalization circuit 21 a or the second feedback equalization circuit 21b. The third sample-hold sub-circuit S/H3 obtains the transition data(Aedge) of the input data signal (DataIn) in light of the edge clocksignal (Clkq) corresponding to the positive clock signal (Clki).

The first XOR gate (Xor1) is electrically connected to the firstfeedback equalization circuit 21 a and the edge detector 22. The firstXOR gate (Xor1) executes an XOR operation for the first sample data(L′odd) of the first serial data (Odd) and the transition data (Edge) togenerate the first clock phase shift information (UP). The second XORgate (Xor2) is electrically connected to the second feedbackequalization circuit 21 b and the edge detector 22. The second XOR gate(Xor2) executes an XOR operation for the second sample data (L′even) ofthe second serial data (Even) and the transition data (Edge) to generatethe second clock phase shift information (DN).

Please also refer to the above detailed description of FIGS. 2A and 2Bfor the relevant technical information of the phase detecting device 20,further description hereby omitted.

The clock adjustment circuit 26 is electrically connected to the phasedetecting device 21 of the phase detecting device 20, and the first XORgate (Xor1) and the second XOR gate (Xor2) of the XOR gate 23, to adjustthe phases of the positive clock signal (Clki), the negative clocksignal (Clki), the edge clock signal (Clkq) and the negative edge clocksignal (Clkq) based on the first clock phase shift information (UP) andthe second clock phase shift information (DN), so as to simultaneouslylead forward or delay backward these clock signals (Clki), (Clki),(Clkq), and (Clkq) a predetermined phase to calibrate them.

The clock data recovery circuit 2 can include the adaptive coefficientadjusting device 24 electrically connected to the decision feedbackequalizer 21. The adaptive coefficient adjusting device 24 is used toadjust the magnification ratio of the first multiplier W1, the secondmultiplier W2, the third multiplier W3 and the fourth multiplier W4, soas to feedback equalize the first sample data (Aodd), the second sampledata (Aeven) and the transition data (Aedge). In an embodiment, theadaptive coefficient adjusting device 24 can have components such as thethreshold tracking circuit or the error equalizer, but not limitedthereto.

The clock data recovery circuit 2 can include the selector 25electrically connected to the decision feedback equalizer 21. Theselector 25 is used to select and sort the first serial data (Odd) andthe second serial data (Even) of the input data signal (DataIn) togenerate the output data signal (DataOut).

The clock adjustment circuit 26 can have the loop filter 27 that iselectrically connected to the first XOR gate (Xor1) or the second XORgate (Xor2) of the XOR gate 23. The loop filter 27 receives the firstclock phase shift information (UP) and the second clock phase shiftinformation (DN).

The clock adjustment circuit 26 can have the phase locked loop (PLL) 28that is used to be electrically connected to the decision feedbackequalizer 21 and the edge detector 22. The phase locked loop 28 receivesthe reference clock signal (ClkRef) to adjust the phases of the positiveclock signal (Clki), the negative clock signal (Clki), the edge clocksignal (Clkq) and the negative edge clock signal (Clkq) based on thefirst clock phase shift information (UP) and the second clock phaseshift information (DN), that can simultaneously lead forward or delaybackward these clock signals (Clki), (Clki), (Clkq), and (Clkq) apredetermined phase to calibrate them. The first sample-hold sub-circuitS/H1, the second sample-hold sub-circuit S/H2 and the third sample-holdsub-circuit S/H3 can thus obtain the correct sample data based on thecalibrated clock signals (Clki), (Clki), and (Clkq), respectively.

The phase locked loop 28 can have components, such as the phasefrequency detector (RFD), the voltage controlled oscillator (VCO), thefrequency divider or phase interpolator (PI), and the voltage controlledoscillator can be used to adjust the phases of the clock signals (Clki),(Clki), (Clkq), and (Clkq). However, the present invention is notlimited thereto.

Further, as shown in FIGS. 3A and 3B, the receiver 3 includes the clockdata recovery circuit 2 of the present invention, the channel 31 and theanalog equalizer 32. The channel 31 can be the circuit of a printcircuit board. The analog equalizer 32 can be the continued time linearequalizer (CTLE).

After passing through the channel 31, the input data signal (DataIn)will have noise or will form the attenuation data signal (Loss). Theanalog equalizer 32 can equalize the attenuation data signal (Loss) inadvance to form the output data signal (CtleOut). The decision feedbackequalizer 21 then equalizes the output data signal (CtleOut) to generatethe output data signal (DataOut), so as to restore the clock data of theoutput data signal (DataOut) to identical with or match the clock dataof the input data signal (DataIn). In other embodiments, the receiver 3can have no analog equalizer 32, so that the decision feedback equalizer21 directly equalizes the input data signal (DataIn) or its attenuationdata signal (Loss) to generate the output data signal (DataOut).

FIG. 4A depicts another circuit diagram of a phase detecting device 20embedded with a decision feedback equalizer 21 according to the presentinvention. FIG. 4B depicts the timing chart of the phase detectingdevice 20 embedded with the decision feedback equalizer 21 in FIG. 4Aaccording to the present invention.

The decision feedback equalizer 21 comprises two feedback equalizationcircuit, including, for example, a first feedback equalization circuit21 a having a first sample-hold sub-circuit S/H1 and a second feedbackequalization circuit 21 b having a second sample-hold sub-circuit S/H2,to constitute a half rate decision feedback equalizer 21. The edgedetector 22 comprises a third feedback equalization circuit 22 a, toachieve the equalization effect of the edge detector 22.

FIGS. 4A and 4B differ from FIGS. 2A and 2B in that: the edge detector22 of FIGS. 4A and 4B comprises a third feedback equalization circuit 22a having a third sample-hold sub-circuit S/H3 and electrically connectedto the first feedback equalization circuit 21 a and the second feedbackequalization circuit 21 b. The third feedback equalization circuit 22 acan also comprises a third adder A3 electrically connecting the firstsample-hold sub-circuit S/H1 to the third sample-hold sub-circuit S/H3,a fifth multiplier W5 electrically connected to the second feedbackequalization circuit 21 b and the third adder A3, a sixth multiplier W6electrically connected to the first feedback equalization circuit 21 aand the third adder A3, and a fifth latch L5 and sixth latch L6 that areelectrically connected to the third sample-hold sub-circuit S/H3.

The fifth multiplier W5 electrically connects an output terminal of thethird latch L3 of the second feedback equalization circuit 21 b to aninput terminal of the third adder A3. The sixth multiplier W6electrically connects an output terminal of the second latch L2 of thefirst feedback equalization circuit 21 a to an input terminal of thethird adder A3. The third sample-hold sub-circuit S/H3 is electricallyconnected to the output terminal of the third adder A3. The fifth latchL5 is electrically connected to the output terminal of the thirdsample-hold sub-circuit S/H3. The sixth latch L6 is electricallyconnected to the output terminal of the fifth latch L5.

The third adder A3 acquires an input data signal (DataIn), and acquiressecond sample data (Leven) of the third latch L3 and first sample data(L′odd) of the second latch L2 through the fifth multiplier W5 and thesixth multiplier W6, respectively. The third adder A3 adds the inputdata signal (DataIn), the second sample data (Leven) and the firstsample data (L′odd), and generates transition data (Sedge) to the thirdsample-hold sub-circuit S/H3. The third sample-hold sub-circuit S/H3transforms the transition data (Sedge) to the transition data (Aedge)according to the edge clock signal (Clkq). The fifth latch L5 transformsthe transition data (Aedge) to the transition data (Ledge), and outputsthe transition data (Ledge) to the sixth latch L6.

The third adder A3 acquires the transition data of the input data signal(DataIn), such as T1, T2 etc. The third sample-hold sub-circuit S/H3,the fifth latch L5

sixth latch L6, the fifth multiplier W5 and the sixth multiplier W6conducts feedback equalization process (e.g., the compensation ofmagnification ratio) for the transition data, to generate third serialdata (e.g., edge serial data) having the transition data T1 and T2,i.e., the transition data (Edge).

The third adder A3 adds the input data signal (DataIn), the secondsample data (Leven) feedback by the fifth multiplier W5, and the firstsample data (L′odd) feedback by the sixth multiplier W6, to generate thethird sample data, i.e., transition data (Sedge). Taking advantage ofthe feedback addition compensation of the two taps TAP1 and TAP2 of thefifth multiplier W5 and the sixth multiplier W6, respectively, to addthe input data signal (DataIn) with its previous two sample data, thecorrectness of the third sample data (Sedge) can be improved.

In order to sample the input data signal (DataIn) generated by thecompensation data feedback by the fifth multiplier W5 and the sixthmultiplier W6, the third sample-hold sub-circuit S/H3 stays in thetracking state (Track) or in the holding state according to the negativeedge clock signal (Clkq) corresponding to the edge clock signal (Clkq),and transforms the transition data (Sedge) to the transition data(Aedge). The fifth latch L5 stays in the tracking state (Track) of inthe holding state (Hold), and transforms the transition data (Aedge) tothe transition data (Ledge). The sixth latch L6 stays in the trackingstate (Track) or in the holding state (Hold) according to the negativeedge clock signal (Clkq) corresponding to the edge clock signal (Clkq),and transforms the transition data (Ledge) to the transition data(Edge). Both the fifth latch L5 and the fourth latch L4 can beequivalent or changed to a D-type flip-flop, and transform thetransition data (Ledge) to the transition data (Edge) having digitaldata 0 and 1.

Summary from the above, the phase detecting device and the clock datarecovery circuit according to the present invention embed the decisionfeedback equalizer having at least two sample-hold sub-circuits into thephase detecting device of the clock data recovery circuit, incorporatethe edge detector to the two decision feedback equalization circuits,and use XOR gates to execute an XOR operation for the sample data of theinput data signal and the transition data, so as to obtain the clockphase shift information (UP/DN) to adjust the phases of the positive,negative and edge clock signals.

Therefore, the present invention can be used in the high speed, digitalor analog clock data recovery circuit and can form a half rate (orhigher than quarter rate) feedback equalization circuit to reduce thebandwidth requirement of the first and second feedback equalizationcircuit. The present invention also can conduct the equalization andcalibration for the input data signal simultaneously, reduce thecomplexity of the phase detecting device and the clock data recoverycircuit, reduce the calibration time of these clock signals, achievemore accurate clock data recovery with a lower power consumption, andavoid the high-frequency noise disturbance generated from the separateor front and back arrangement of the prior clock data recovery circuitand the decision feedback equalizer.

The above embodiments are merely used to describe the principle,characteristic, and effect of the present invention, but not to limitthe present invention. Anyone with ordinary skills in the arts canmodify or change the above embodiments without departing from the spiritand scope of the disclosure. Any use of the present invention completedisclosure and equivalent changes and modifications, all of thefollowing claims should be covered. Accordingly, the scope of thepresent invention should follow the appended claims.

What is claimed is:
 1. A phase detecting device, comprising: a decisionfeedback equalizer including a first feedback equalization circuithaving a first sample-hold sub-circuit and a second feedbackequalization circuit having a second sample-hold sub-circuit, whereinthe first sample-hold sub-circuit obtains first sample data of an inputdata signal in light of a positive clock signal, and the secondsample-hold sub-circuit obtains second sample data of the input datasignal in light of a negative clock signal corresponding to the positiveclock signal; an edge detector electrically connected to the firstfeedback equalization circuit or the second feedback equalizationcircuit and having a third sample-hold sub-circuit that obtainstransition data of the input data signal in light of an edge clocksignal corresponding to the positive clock signal; a first XOR gateelectrically connected to the first feedback equalization circuit andthe edge detector and executing an XOR operation for the first sampledata and the transition data to generate first clock phase shiftinformation; and a second XOR gate electrically connected to the secondfeedback equalization circuit and the edge detector and executing theXOR operation for the second sample data and the transition data togenerate second clock phase shift information.
 2. The phase detectingdevice according to claim 1, wherein the first feedback equalizationcircuit further includes a first adder, a first latch and a second latchelectrically connected to the first sample-hold sub-circuitsequentially, a first multiplier electrically connected to the secondfeedback equalization circuit, and a second multiplier electricallyconnected to the first adder and the second latch, and obtains aplurality of the first sample data of the input data signal, and thefirst adder, the first latch, the second latch, the first multiplier andthe second multiplier conduct feedback equalization to the first sampledata to generate first serial data.
 3. The phase detecting deviceaccording to claim 1, wherein the second feedback equalization circuitfurther includes a second adder, a third latch and a fourth latchelectrically connected to the second sample-hold sub-circuitsequentially, a third multiplier electrically connected to the firstfeedback equalization circuit, and a fourth multiplier electricallyconnected to the second adder and the fourth latch, and obtains aplurality of the second sample data of the input data signal, and thesecond adder, the third latch, the fourth latch, the third multiplierand the fourth multiplier conduct feedback equalization to the secondsample data to generate second serial data.
 4. The phase detectingdevice according to claim 1, wherein the edge detector further includesa fifth latch and a sixth latch electrically connected to the thirdsample-hold sub-circuit sequentially, and obtains a plurality of thetransition data of the input data signal from the first feedbackequalization circuit or the second feedback equalization circuit, andthe fifth latch or the sixth latch conducts digitalization of thetransition data.
 5. The phase detecting device according to claim 1,further comprising a seventh latch electrically connected to the firstXOR gate and outputting the first clock phase shift information and aneighth latch electrically connected to the second XOR gate andoutputting the second clock phase shift information.
 6. The phasedetecting device according to claim 1, wherein the edge detectorcomprises a third feedback equalization circuit having the thirdsample-hold sub-circuit, and the third feedback equalization circuit iselectrically connected to the first feedback equalization circuit andthe second feedback equalization circuit.
 7. The phase detecting deviceaccording to claim 6, wherein the third feedback equalization circuitfurther comprises a third adder that electrically connects the firstsample-hold sub-circuit to the third sample-hold sub-circuit, a fifthmultiplier electrically connected to the second feedback equalizationcircuit and the third adder, a sixth multiplier electrically connectedto the first feedback equalization circuit and the third adder, and afifth latch and a sixth latch electrically connected to the thirdsample-hold sub-circuit sequentially.
 8. A clock data recovery circuit,comprising: a phase detecting device including: a decision feedbackequalizer including a first feedback equalization circuit having a firstsample-hold sub-circuit and a second feedback equalization circuithaving a second sample-hold sub-circuit, wherein the first sample-holdsub-circuit obtains first sample data of an input data signal in lightof a positive clock signal, and the second sample-hold sub-circuitobtains second sample data of the input data signal in light of anegative clock signal corresponding to the positive clock signal; anedge detector electrically connected to the first feedback equalizationcircuit and the second feedback equalization circuit and having a thirdsample-hold sub-circuit that obtains transition data of the input datasignal in light of an edge clock signal corresponding to the positiveclock signal; a first XOR gate electrically connected to the firstfeedback equalization circuit and the edge detector and executing an XORoperation for the first sample data and the transition data to generatefirst clock phase shift information; and a second XOR gate electricallyconnected to the second feedback equalization circuit and the edgedetector and executing the XOR operation for the second sample data andthe transition data to generate second clock phase shift information;and a clock adjustment circuit electrically connected to the phasedetecting device and adjusting phases of the positive clock signal, thenegative clock signal and the edge clock signal based on the first clockphase shift information and the second clock phase shift information. 9.The clock data recovery circuit according to claim 8, wherein the firstfeedback equalization circuit further includes a first adder, a firstlatch and a second latch electrically connected to the first sample-holdsub-circuit sequentially, a first multiplier electrically connected tothe second feedback equalization circuit, and a second multiplierelectrically connected to the first adder and the second latch, andobtains a plurality of the first sample data of the input data signal,and the first adder, the first latch, the second latch, the firstmultiplier and the second multiplier conduct feedback equalization tothe first sample data to generate first serial data.
 10. The clock datarecovery circuit according to claim 8, wherein the second feedbackequalization circuit further includes a second adder, a third latch anda fourth latch electrically connected to the second sample-holdsub-circuit sequentially, a third multiplier electrically connected tothe first feedback equalization circuit, and a fourth multiplierelectrically connected to the second adder and the fourth latch, andobtains a plurality of the second sample data of the input data signal,and the second adder, the third latch, the fourth latch, the thirdmultiplier and the fourth multiplier conduct feedback equalization tothe second sample data to generate second serial data.
 11. The clockdata recovery circuit according to claim 8, wherein the edge detectorfurther includes a fifth latch and a sixth latch electrically connectedto the third sample-hold sub-circuit sequentially, and obtains aplurality of the transition data of the input data signal from the firstfeedback equalization circuit or the second feedback equalizationcircuit, and the fifth latch or the sixth latch conducts digitalizationof the transition data.
 12. The clock data recovery circuit according toclaim 8, further comprising a seventh latch electrically connected tothe first XOR gate and outputting the first clock phase shiftinformation and an eighth latch electrically connected to the second XORgate and outputting the second clock phase shift information.